<?php /* Smarty version Smarty-3.0.8, created on 2015-10-15 10:47:04
         compiled from "/var/www/html/magroup/admin/tpl/nav_index.html" */ ?>
<?php /*%%SmartyHeaderCode:627804164561f13a8607f31-13870378%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '15d563c635fd5d608b2cfe1903a69d058a63113e' => 
    array (
      0 => '/var/www/html/magroup/admin/tpl/nav_index.html',
      1 => 1444876874,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '627804164561f13a8607f31-13870378',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("tpl/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
<?php if ($_smarty_tpl->getVariable('cat_sons')->value){?>
<div>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('cat_sons')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
	<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'nav','a'=>'index','cat_id'=>$_smarty_tpl->getVariable('cat_id')->value,'url_id'=>$_smarty_tpl->getVariable('left_nav_id')->value,'son_cat_id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" class="btn <?php if ($_smarty_tpl->getVariable('son_cat_id')->value==$_smarty_tpl->tpl_vars['item']->value['id']){?>btn-primary<?php }else{ ?>btn-default<?php }?> "><?php echo $_smarty_tpl->tpl_vars['item']->value["name"];?>
</a>
<?php }} ?>
</div>
<hr />
<?php }?>
<iframe id="iframe" src="<?php echo $_smarty_tpl->getVariable('iframe_src')->value;?>
&content_only=1" scrolling="no" style="width:1100px;border:none;">
	
</iframe>
<script type="text/javascript">
	$("#iframe").load(function(){
    	var mainheight = $(this).contents().find("body").height()+30;
    	$(this).height(mainheight);
	});
</script>
<?php $_template = new Smarty_Internal_Template("tpl/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>